package cn.imnu.legalaid.dto.Consultation;

import lombok.Data;
import java.time.LocalDateTime;

@Data
public class MessageDTO {
    private Integer id;
    private Integer consultationId;
    private Integer senderId;
    private String senderType; // 'client' 或 'lawyer'
    private String messageType; // 'text' 或 'file'
    private String content;
    private String fileUrl;
    private LocalDateTime createdAt;
    private Boolean isRead;
}
